const app = getApp();

/**
 * @description: 获取订单列表
 * @return {*}
 */
export const getOrderList = () => app.get("/order/my_orders/", true);

/**
 * @description: 获取订单详情
 * @return {*}
 */
export const getOrderDetail = (number) =>
  app.get(`/order/my_order_detail/?number=${number}`, true);


